﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using TestcraftLibrary.Common;

namespace Testcraft
{
    struct RayIntersectionResult
    {
        public ChunkPartEx2 ChunkPart;
        public PointInt16 Location;
        public Direction Face;
        

        public RayIntersectionResult(ChunkPartEx2 part, PointInt16 location, Direction face)
        {
            this.ChunkPart = part;
            this.Location = location;
            this.Face = face;
        }

        public override string ToString()
        {
            return string.Format("{0} Face: {1}", this.Location, this.Face);
        }
    }
}
